<?php if(isset($_SESSION['user_id']) && $_SESSION['user_id'] > 0){ ?>
	<tr><td id="menu">
		<div id="menu_left">
			<div id="menu_right">
				<table border="0" cellpadding="0" cellspacing="0" class="menu"><tr>
	                <td><table cellpadding="0" cellspacing="0" border="0"><tr><td style="text-align:right;"><a href="main.php">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td style="text-align:left; width:100px;">&nbsp;<a href="main.php"><img src="images/home.png" width="32" height="32" alt="" /></a></td></tr></table></td>
					<td class="separateur">|</td>
					<td><table cellpadding="0" cellspacing="0" border="0"><tr><td style="text-align:right;"><a href="editTags.php">Edit tags</a>&nbsp;</td><td style="text-align:left; width:100px;">&nbsp;<a href="editTags.php"><img src="images/gear.png" width="32" height="32" alt="" /></a></td></tr></table></td>
					<td class="separateur">|</td>
					<td><table cellpadding="0" cellspacing="0" border="0"><tr><td style="text-align:right;"><a href="upload.php">Upload</a>&nbsp;&nbsp;&nbsp;&nbsp;</td><td style="text-align:left; width:100px;">&nbsp;<a href="upload.php"><img src="images/Folder.png" width="32" height="32" alt="" /></a></td></tr></table></td>
					<td class="separateur">|</td>
					<td><table cellpadding="0" cellspacing="0" border="0"><tr><td style="text-align:right;"><a href="share.php">Share a tag</a>&nbsp;</td><td style="text-align:left; width:100px;">&nbsp;<a href="share.php"><img src="images/Earth.png" width="32" height="32" alt="" /></a></td></tr></table></td>
                    <td class="separateur">|</td>
					<td><table cellpadding="0" cellspacing="0" border="0"><tr><td style="text-align:right;"><a href="?logout">Logout</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td style="text-align:left; width:100px;">&nbsp;<a href="?logout"><img src="images/logout.png" width="32" height="32" alt="" /></a></td></tr></table></td>
				</tr></table>
			</div>
		</div>
	</td></tr>
	<tr><td class="spacer"></td></tr>
<?php } ?>